<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>用户资料管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link href="<?php echo  base_url();?>css/all.css" rel="stylesheet" type="text/css" />
	<script language="javascript" src="<?php echo base_url();?>js/jquery.js"></script>
	<script language="javascript" src="<?php echo base_url();?>js/jquery.modal.js"></script>
</head>
<body>
<script>
   $(document).ready(function(){
	   $("#username").focus();
        var status = $("#status").val();
        if(status=='error'){
              alert('用户名或密码错误！');
         }
    })
</script>
<div id="main" >
	<div style="margin-top:150px;text-align:center;">
	  <img src="<?php echo base_url();?>img/techdoc.png" alt="" /><br/>
	<table cellpadding="0" cellspacing="0" style="margin-left:450px;margin-top:50px;">
	<?php echo form_open('main/login'); ?>
	    <input type="hidden" value="<?php echo $status;?>" id="status"/>
					<tr>
						<td class="full">用户名：</td>
						<td><input type="text" name="username" value="" id="username"></td>
					</tr>

					<tr>
						<td class="full">密码：</td>
						<td><input type="password" name="password" value=""></td>
					</tr>
					<tr class="bg">
						<td><input type="submit" value="提交" class="button" id="submit" /></td>
						<td><input type="reset" value="重置" class="button" id="reset" /></td>
					</tr>
				</form>	
				</table>
</div>			</div>		
</body>
</html>
